<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title></title>
<script language="javascript" type="text/javascript" src="http://www.ucmaim.com/Public/Ucmaim/Admin/js/jquery.js"></script>
<script src="http://www.ucmaim.com/Public/Ucmaim/Admin/js/frame.js" language="javascript" type="text/javascript"></script>
<link href="http://www.ucmaim.com/Public/Ucmaim/Admin/css/style.css" rel="stylesheet" type="text/css" />

<!--[if IE 6]>
<script src="http://www.ucmaim.com/Public/Ucmaim/Admin/js/DD_belatedPNG.js" language="javascript" type="text/javascript"></script>
<script>
  DD_belatedPNG.fix('.nav ul li a,.top_link ul li,background');   /* string argument can be any CSS selector */
</script>
<![endif]-->
</head>
<body class="showmenu">
<script src="/Public/Manage/js/jquery.form.min.js"></script>
<table width="100%" height="31px" border="0" cellpadding="0" cellspacing="0" class="left_topbg" id="table2">
    <tr>
        <td height="31">
            <div class="titlebt">订单修改【订单号: <?php echo ($order["order_sn"]); ?>】</div>
        </td>
    </tr>
</table>

<div class="main">
    <div class="form">
        <form method='post' id="form_do" name="form_do" action="<?php echo U('Admin/Order/Modify');?>">
            <dl>
                <dt><span style="color:red;"></span> 订单号：</dt>
                <dd>
                    <span type="text" class="inp_one" style="border: none;"><?php echo ($order["order_sn"]); ?></span>
                </dd>
            </dl>

            <dl>
                <dt><span style="color:red;"></span> 买家：</dt>
                <dd>
                    <span type="text" class="inp_one" style="border: none;"><?php echo ($order["buyer_name"]); ?></span>
                </dd>
            </dl>

            <dl>
                <dt><span style="color:red;"></span> 卖家：</dt>
                <dd>
                    <span type="text" class="inp_one" style="border: none;"><?php echo ($order["seller_name"]); ?></span>
                </dd>
            </dl>

            <dl>
                <dt><span style="color:red;"></span> 订单金额：</dt>
                <dd>
                    <span type="text" class="inp_one" style="border: none;"><?php echo order_amount($order['order_number'], $order['order_price']);?></span>
                    <span type="text" class="inp_one" style="border: none; color: #ccc;">(价格: <?php echo ($order['order_price']); ?>&nbsp;&nbsp;&nbsp;&nbsp;数量: <?php echo ($order['order_number']); ?>)</span>
                </dd>
            </dl>
            <dl>
                <dt><span style="color:red;"></span> 下单时间：</dt>
                <dd>
                    <span type="text" class="inp_one" style="border: none;"><?php echo (date('Y-m-d H:i:s', $order["order_time"])); ?></span>
                </dd>
            </dl>
            <dl>
                <dt><span style="color:red;"></span> 支付时间：</dt>
                <dd>
                    <span type="text" class="inp_one" style="border: none;"><?php echo (show_order_time($order["pay_time"],'未支付')); ?></span>
                </dd>
            </dl>
            <dl>
                <dt><span style="color:red;"></span> 发货时间：</dt>
                <dd>
                    <span type="text" class="inp_one" style="border: none;"><?php echo (show_order_time($order["send_time"],'未发货')); ?></span>
                </dd>
            </dl>
            <dl>
                <dt><span style="color:red;"></span> 买家联系方式：</dt>
                <dd>
                    手机号码:<span type="text" class="inp_one" style="border: none;"><?php echo (replacement($order["order_mobile"])); ?></span> /
                    QQ:<span type="text" class="inp_one" style="border: none;"><?php echo (replacement($order["order_qq"])); ?></span>
                </dd>
            </dl>
            <dl>
                <dt><span style="color:red;"></span> 卖家联系方式：</dt>
                <dd>
                    手机号码:<span type="text" class="inp_one" style="border: none;"><?php echo (replacement($goods["goods_mobile"])); ?></span> /
                    QQ:<span type="text" class="inp_one" style="border: none;"><?php echo (replacement($goods["goods_qq"])); ?></span>
                </dd>
            </dl>
            <dl>
                <dt><span style="color:red;"></span> 买家支付宝账号：</dt>
                <dd><span type="text" class="inp_one" style="border: none;"><?php echo (replacement($order["buyer_alipay"])); ?></span></dd>
            </dl>
            <dl>
                <dt><span style="color:red;"></span> 卖家支付宝账号：</dt>
                <dd><span type="text" class="inp_one" style="border: none;"><?php echo (replacement($order["seller_alipay"])); ?></span></dd>
            </dl>
            <dl>
                <dt><span style="color:red;"></span> 买家游乐淘账号：</dt>
                <dd><span type="text" class="inp_one" style="border: none;"><?php echo (replacement($order["order_zytuid"])); ?></span></dd>
            </dl>
            <dl>
                <dt><span style="color:red;"></span> 卖家游乐淘账号：</dt>
                <dd><span type="text" class="inp_one" style="border: none;"><?php echo (replacement($goods["goods_tao"])); ?></span></dd>
            </dl>
            <dl>
                <dt><span style="color:red;"></span> 商品：</dt>
                <dd><span type="text" class="inp_one" style="border: none;">
                    <a href="<?php echo U('Home/Goods/goods', 'id='.$order['goods_id']);?>" target="_blank"><?php echo ($order["goods_title"]); ?></a>
                </span></dd>
            </dl>
            <dl>
                <dt><span style="color:red;"></span> 订单状态：</dt>
                <dd>
                    <span type="text" class="inp_one" style="border: none;"><?php echo (order_status($order["order_real_status"])); ?></span>
                </dd>
            </dl>
            <dl>
                <dt><span style="color:red;"></span> 状态变更：</dt>
                <dd>
                    <span type="text" class="inp_one" style="border: none;">
                        <?php if(is_array($status)): foreach($status as $key=>$v): if($key == $order['order_real_status']): $checked = 'checked="checked"'; ?>
                                <?php else: ?>
                                <?php $checked = ''; endif; ?>
                            <label><input type="radio" value="<?php echo ($key); ?>" name="status" <?php echo ($checked); ?> /> <?php echo ($v); ?></label>&nbsp;&nbsp;<?php endforeach; endif; ?>
                        <input type="hidden" id="sn" name="sn" value="<?php echo ($order["order_sn"]); ?>" />
                    </span>
                </dd>
            </dl>
            <div class="form_b">
                <input type="submit" class="btn_blue" value="确认">
                <input type="button" onclick="javascript:history.go(-1);" class="btn_blue" value="返回">
            </div>
        </form>
    </div>
</div>
<script type="text/javascript">

</script>

</body>
</html>